package com.yunji.order.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.yunji.order.domain.OrderOrdinalDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2025/4/3 14:42
 * @description : TODO
 **/
public interface IOrderOrdinalMapper extends MPJBaseMapper<OrderOrdinalDO> {

    @Select("select ordinal from t_order_ordinal where order_id = #{orderId} ")
    List<Integer> getOrdinalsByOrderId(@Param("orderId") Long orderId);
}
